package cn.wolfcode.shop.cloud.vo;

import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.Pattern;
import java.io.Serializable;

/**
 * Created by wolfcode-lanxw
 */
@Getter
@Setter
public class LoginVo implements Serializable {

    @Pattern(regexp = "^1[3|4|5|7|8][0-9]{9}$", message = "手机格式错误")
    private String mobile;
    private String password;
}
